/**
 * Created by Administrator on 2018/6/9.
 */
$(function(){
    /*拿到所有的预约区域*/
    var dataValue = "";
    var timeValue = "";
    var seatValue = "";
    var bookWhere="";
    /*个人信息点击事件*/
    $('.tsg_nav a:last-child').on('click', function () {
        $('.tsg_userDetail').css('display', 'block').addClass('fadeInDown')
    })
    $('.tsg_userDetail span:first-child').on('click', function () {
        $('.tsg_userDetail').css('display', 'none')
    })
    /*预约规则模块点击事件*/
    $('.tsg_bookDetail1').on('click',function(){
        $('.tsg_bookDetail').css('display','block').addClass('fadeInDown')
    })
    $('.tsg_bookDetail .pull-right').on('click',function(){
        $('.tsg_bookDetail').css('display','none')
    });
    /*后台首页模态框*/
    $('.glyphicon-log-in').on('click',function(){
        $('#exit').modal('show');
        $('#exit').find('.btn-primary').on('click',function(){
            $('#exit').modal('hide');
            location.href='/tushuguan/index.html'
        })
    });
});
